home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 39 / Issue 39.iso / pc / PCSoftware / AceHTML 4.0 / AceHTML4Pro.exe / %MAINDIR% / ScriptDef / Check Mimes.sd < prev    next >
Encoding:
INI File  |  2000-08-31  |  690 b   |  31 lines

  1. [SUBJECT]
  2. Description=Display all the mime types you have installed on the visitor's browser
  3. ImageIndex=-1
  4. Folder=Quick JavaScript
  5.  
  6.  
  7. [BODY_TEXT]
  8. ;<CENTER>
  9. ;<SCRIPT LANGUAGE="JavaScript">
  10. ;<!-- Begin
  11. ;document.writeln("<TABLE BORDER=1><TR VALIGN=TOP>",
  12. ;"<TH ALIGN=left>i",
  13. ;"<TH ALIGN=left>type",
  14. ;"<TH ALIGN=left>description",
  15. ;"<TH ALIGN=left>suffixes</TR>")
  16. ;for (i=0; i < navigator.mimeTypes.length; i++) {
  17. ;document.writeln("<TR VALIGN=TOP><TD>",i,
  18. ;"<TD>",navigator.mimeTypes[i].type,
  19. ;"<TD>",navigator.mimeTypes[i].description,
  20. ;"<TD>",navigator.mimeTypes[i].suffixes,
  21. ;"</TR>")
  22. ;  }
  23. ;document.writeln("</TABLE>")
  24. ;// End -->
  25. ;</SCRIPT>
  26. ;</CENTER>
  27. ;
  28.  
  29.  
  30.  
  31.